{{ content() }}
<div class="page-content-area">
    <div class="page-header">
        <h1>
            Create Video Group
        </h1>
    </div>

    <div class="row">
        <div class="col-sm-4 col-sm-offset-0 col-md-12 col-md-offset-0">

            <div class="col-xs-12">
                <div class="form-content">
                    {{ form('class': 'form-signup form-horizontal') }}
                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3 {% if form.hasMessagesFor('name') %} has-error {% endif %}">
                        <div class="col-md-2">
                            <label for="">
                                {{ form.label('name')}}
                            </label>
                        </div>
                        <div class="col-md-8">
                            {{ form.render('name') }}
                            <div class="clearfix">
                                <div class="help-block">
                                    {{ form.messages('name') }}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3 {{ form.hasMessagesFor('description') ? 'has-error' : '' }}">
                        <div class="col-md-2">
                            <label for="">
                                {{ form.label('description')}}
                            </label>
                        </div>
                        <div class="col-md-8">
                            {{ form.render('description') }}
                            <div class="clearfix">
                                <div class="help-block">
                                    {{ form.messages('description') }}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3 {{ form.hasMessagesFor('total_episode') ? 'has-error' : '' }}">
                        <div class="col-md-2">
                            <label for="">
                                {{ form.label('total_episode')}}
                            </label>
                        </div>
                        <div class="col-md-8">
                            {{ form.render('total_episode') }}
                            <div class="clearfix">
                                <div class="help-block">
                                    {{ form.messages('total_episode') }}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3 {{ form.hasMessagesFor('national') ? 'has-error' : '' }}">
                        <div class="col-md-2">
                            <label for="">
                                {{ form.label('national')}}
                            </label>
                        </div>
                        <div class="col-md-8">
                            {{ form.render('national') }}
                            <div class="clearfix">
                                <div class="help-block">
                                    {{ form.messages('national') }}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3 {{ form.hasMessagesFor('year_product') ? 'has-error' : '' }}">
                        <div class="col-md-2">
                            <label for="">
                                {{ form.label('year_product')}}
                            </label>
                        </div>
                        <div class="col-md-8">
                            {{ form.render('year_product') }}
                            <div class="clearfix">
                                <div class="help-block">
                                    {{ form.messages('year_product') }}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3 {{ form.hasMessagesFor('year_publish') ? 'has-error' : '' }}">
                        <div class="col-md-2">
                            <label for="">
                                {{ form.label('year_publish')}}
                            </label>
                        </div>
                        <div class="col-md-8">
                            {{ form.render('year_publish') }}
                            <div class="clearfix">
                                <div class="help-block">
                                    {{ form.messages('year_publish') }}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3 {{ form.hasMessagesFor('status') ? 'has-error' : '' }}">
                        <div class="col-md-2">
                            <label for="">
                                {{ form.label('status')}}
                            </label>
                        </div>
                        <div class="col-md-8">
                            {{ form.render('status') }}

                            <div class="clearfix">
                                <div class="help-block">
                                    {{ form.messages('status') }}
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group col-md-12 col-sm-3 col-md-offset-3">
                        <div class="col-md-2">

                        </div>
                        <div class="col-md-8">
                            {{ form.render('submit') }}
                        </div>
                    </div>
                    {{ form.render('id') }}
                    {{ form.render('csrf', ['value': security.getToken()]) }}
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
